package top.yekongle.logging.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Hank Lau
 * @date 2022/7/16
 */
@Slf4j
@RestController
public class LogController {

	@GetMapping("/testLog1")
	public String testLog1() {
		log.debug("hello world");

		log.info("hello world");

		log.error("hello world");

		return "success";
	}
}
